
/*eslint fun-call-spacing:0*/
'use strict';
const base = '/APP/';
const course = '/API-COURSE/';
const resource = '/API-RESOURCE/';
const rush = '/API-RUSH/';
const exam = '/API-EXAM/';
const URL = {
  fileUrl: resource + 'webView',
  base: {
    login: base + 'app/login',
    loginOut: base + 'app/loginOut',
    register: base + 'app/registerUser',
    registerAuthPhone: base + 'sms/authSmsCode',
    sendEmailCode: base + 'email/sendEmailCode',
    authEmail: base + 'email/authEmailCode',
    forgetPW: base + 'sysUser/forgetPassword',
    getNewest: base + 'sysAppVersionModule/alwaysNewest',
    authUserInfo: base + 'app/completeUserInfo',//批量导入用户首次登录验证用户信息
    // registerUserInfo:base + 'app/registerUserInfo',//注册用户第三部完善用户信息
    registerUserInfo: base + '/app/registerUser',//注册用户第三部完善用户信息
    getCompanyList: base + 'sysCompany/queryPage',//获取所有企业
    getOrgList: base + 'sysOrg/queryPage',//获取企业下的部门
    authPhoneExist: base + 'app/isExistPhone',//验证手机号是否在系统中存在
    isSelfPhone: base + 'app/isSelfPhone',//验证手机号是否是当前登录人的
    sendCode: base + 'sms/sendSmsCode',//发送验证码
    authPhoneAndLogin: base + 'app/loginByPhoneNumber',//实名认证绑定手机号与手机号登陆
    updatePassword: base + '/sysUser/editUserPassword',//修改密码
    getToken: base + 'app/loginByOpenId',
    bindwx: base + 'app/accountBindWeChat',
    imgPath: resource + 'webView?fid=',
    getUserInfo: base + 'sysUser/getUserInfo',
    editUserInfo: base + 'sysUser/editUserInfo',
    editUserphone: base + 'app/updatePhoneNum',
    uploadFile: resource + 'upload/uploadFile',
    uploadUserinfo: base + 'sysUser/updateUserInfo'//修改个人信息
  }
};
export default URL;
